<template>
  <div>
    我是父组件
    <mydia>
      <!-- <div slot="title">确定</div>
      <div>确定1</div>
      <div slot="footer">
      <span>
        <el-button>取消</el-button>
        <el-button>确定</el-button>
      </span>
      </div> -->
      <template #title>
        <div>
          我是头部
        </div>
      </template>
      <div>我是默认插槽</div>
      <template #footer>
        <div>
          <el-button>取消</el-button>
          <el-button>确定</el-button>
        </div>
      </template>
    </mydia>
  </div>
</template>
<script>
import mydia from './Mydia'
export default {
  components: { mydia }
}
</script>
<style></style>
